<?php

/**
 * XHTML_Focus_Attributes, xhtml_lib
 * 
 * This file contains the source code for the XHTML_Event_Attributes interface.
 * @author Fernando Jimenez Mocobono <fjmcool@gmail.com>
 * @version 0.1
 * @package xhtml_lib
 */

/**
 * The XHTML_Focus_Attributes interface specifies the focus attributes getters and setters
 * for a xhtml-strict php-handler implementation.
 */
interface XHTML_Focus_Attributes {
    
    /**
     * Sets the accessibility key character for this element.
     *
     * @param string $string
     */
    function setAccessKey($char);
    
    /**
     * Gets the accesibility key characater that has been set for this element.
     *
     * @return string
     */
    function getAccessKey();
    
    /**
     * Sets the tabulation index for this element.
     *
     * @param integer $index
     */
    function setTabIndex($index);
    
    /**
     * Gets the tabulation index that has been set for this element.
     *
     * @return integer
     */
    function getTabIndex();
    
    /**
     * Sets the onfocus event script for this element.
     *
     * @param string $script
     */
    function setOnFocus($script);
    
    /**
     * Gets the onfocus event script that has been set for this element.
     *
     * @return string
     */
    function getOnFocus();
    
    /**
     * Sets the onblur event script for this element.
     *
     * @param string $script
     */
    function setOnBlur($script);
    
    /**
     * Gets the onblur event script that has been set for this element.
     *
     * @return string
     */
    function getOnBlur();
    
}

?>